package com.edfu.core.coursemgt.vo;

import java.io.Serializable;
import java.util.Set;

import com.edfu.core.commons.beans.Category;
import com.edfu.core.coursemgt.vo.Consts.CourseOfferingMode;
import com.edfu.core.coursemgt.vo.Consts.CourseOfferingState;
import com.edfu.core.coursemgt.vo.Consts.CourseOfferingVisibility;

public class CourseOffering implements Serializable {
	private static final long serialVersionUID = -6413564329108307957L;
	private String code;	
	private String title ;
	private String description ;
	private String contentDirectory ;
	private Set<String> owners;
	private String language;
	private CourseOfferingState state;
	private CourseOfferingMode mode;
	private CourseOfferingVisibility visibility;
	private String metadata;
	private boolean free;
	private float price;
	private Set<Lesson> lessons;
	private Set<Category> categories;

	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getContentDirectory() {
		return contentDirectory;
	}
	public void setContentDirectory(String contentDirectory) {
		this.contentDirectory = contentDirectory;
	}
	public Set<String> getOwners() {
		return owners;
	}
	public void setOwners(Set<String> owners) {
		this.owners = owners;
	}
	public String getLanguage() {
		return language;
	}
	public void setLanguage(String language) {
		this.language = language;
	}
	
	public CourseOfferingState getState() {
		return state;
	}
	public void setState(CourseOfferingState state) {
		this.state = state;
	}
	public CourseOfferingMode getMode() {
		return mode;
	}
	public void setMode(CourseOfferingMode mode) {
		this.mode = mode;
	}
	public CourseOfferingVisibility getVisibility() {
		return visibility;
	}
	public void setVisibility(CourseOfferingVisibility visibility) {
		this.visibility = visibility;
	}
	public String getMetadata() {
		return metadata;
	}
	public void setMetadata(String metadata) {
		this.metadata = metadata;
	}
	public boolean isFree() {
		return free;
	}
	public void setFree(boolean free) {
		this.free = free;
	}
	public float getPrice() {
		return price;
	}
	public void setPrice(float price) {
		this.price = price;
	}
	public Set<Lesson> getLessons() {
		return lessons;
	}
	public void setLessons(Set<Lesson> lessons) {
		this.lessons = lessons;
	}
	public Set<Category> getCategories() {
		return categories;
	}
	public void setCategories(Set<Category> categories) {
		this.categories = categories;
	}
	
	
}
